package com.yiwei.jmx.constant;

/**
 * Created by xsooy-pc on 2017/8/24.
 */

public class Const {
    public static String SERVER_API_URL = "http://test.app.api.zxgj.dianhuohuo.shop";
//    public static String SERVER_API_URL = "http://test.app.api.yuntaoonline.com";

    public static final boolean IS_DEBUG = true;
    public static final String APP_NAME = "yfb.apk";
    public static final String SP_NAME = "sp";
    public static final String APP_CHINA_NAME = "云淘在线";
    public static final String PASS_KEY = "PASS_KEY_MAP";
    public static final String GESTURE_PASSWORD = "JMX_GesturePassword";
    public static final String ZHI_MA_SCHEMA = "jmx://test.pay.api.dob500.com/antopen/certreturn";
    public static final String LIMU_CALLBACK = SERVER_API_URL + "/callback/limu";

    public static final class MobSdk {
        public static final String KEY = "2483491b0c979";
        public static final String SECRET = "ec66738111e8b6475fde98f685831d7a";
    }

    public static class WebSite {
        public static final String PRIZE_RULE = SERVER_API_URL + "/views/prize-rules";
    }


    public static final class BeeCloud {
        public static final String APP_ID = "956fb30c-0579-4469-aa31-64140d64e61c";
        public static final String APP_Secret = "17b96e5a-2c3d-4265-9308-ec4b50407f6e";
        public static final String WECHAT_ID = "wx8f9ffda903463ae8";

    }

    /**
     * 权限类型
     */
    public static final class PermissionType {
        public final static int WRITE_EXTERNAL_STORAGE_REQUEST_CODE = 0;
        public final static int READ_PHONE_REQUEST_CODE = 1;
        public final static int CAMERA_REQUEST_CODE = 2;
        public final static int WRITE_CONTACTS_REQUEST_CODE = 3;
        public final static int LOCATION_REQUEST_CODE = 4;
        public final static int READ_CALL_LOG_REQUEST_CODE = 5;
    }

    /**
     * 认证类型
     */
    public static final class IdentityType {
        public final static String xuexin = "xuexin";  // 学籍认证
        public final static String realname = "realname"; //身份认证
        public final static String yunyin = "mobile";  //通信认证
        public final static String taobao = "taobao";  //淘宝认证
        public final static String face = "face";  //"人脸认证
        public final static String face_detect = "face_detect";  //"芝麻认证
        public final static String contacts = "contacts";  //基础认证
        public final static String jd = "jd";  //京东认证
        public final static String email = "email";  //邮箱认证"
        public final static String linkedin = "linkedin";  //领英认证
        public final static String housefund = "housefund";  //公积金认证
        public final static String socialsecurity = "socialsecurity";  //社保认证
        public final static String income = "income";  //收入证明
        public final static String car = "car";  //车产认证
        public final static String work = "work";  //工作证明
        public final static String house = "house";  // 房产认证
        public final static String bankcard = "bankcard";  // 银行卡
        public final static String tongxunlu = "tongxunlu";  // 房产认证
        public final static String zhifubao = "zhifubao";  // 房产认证
    }


    public static class KEY {
        public static final String LAT = "lat";
        public static final String LNG = "lng";
    }
}
